.integral {

  width: var(--pagewidth);
  margin: 0 auto;

  >header {
    margin: 30px auto;
  }

  >div {
    display: flex;
    justify-content: space-between;

    >nav {
      width: 198px;
      height: 990px;
      background: var(--bgfff);
      border-radius: 8px;
      flex-shrink: 0;
      display: flex;
      flex-direction: column;
      justify-content: flex-start;
      overflow-y: auto;

      >span {
        font-size: 16px;
        font-family: PingFangSC-Medium, PingFang SC;
        font-weight: 500;
        color: var(--font333);
        height: 50px;
        display: flex;
        align-items: center;
        margin: 5px auto;
        width: 100%;
        cursor: pointer;

        &.active {
          background-color: var(--theme);
          color: var(--fontfff);
        }


        >img {
          width: 30px;
          max-height: 30px;
          background: var(--bgfff);
          margin: 0 20px;
          object-fit: cover;
          object-position: center;
          border-radius: 50%;

        }
      }

    }

    >aside {
      background: var(--bgfff);
      border-radius: 8px;
      flex: 1;
      margin-left: 13px;
      height: 990px;

      >nav {
        height: 50px;
        display: flex;
        justify-content: center;
        align-items: center;

        >span {
          padding: 0 20px;
          cursor: pointer;
          font-size: 14px;
          font-family: PingFangSC-Medium, PingFang SC;
          font-weight: 500;
          color: var(--font333);
          position: relative;
          height: 100%;
          line-height: 50px;

          &.active {
            color: var(--theme);

            &::after {
              position: absolute;
              left: 50%;
              transform: translateX(-50%);
              content: "";
              bottom: 1px;
              width: 30px;
              height: 4px;
              background-color: var(--theme);
            }
          }
        }
      }

      .topTitle {
        width: 100%;
        // position: relative;
        table-layout: fixed;

        img {
          width: 30px;
          max-height: 30px;
          object-fit: cover;
          object-position: center;
          border-radius: 50%;
          margin-right: 20px;
        }

        .basketball {
          height: 50px;
          background-color: var(--theme);
          font-size: 14px;
          font-family: PingFangSC-Medium, PingFang SC;
          font-weight: 500;
          color: var(--fontfff);
        }

        .sptd {
          text-align: left;
        }


        thead,
        tbody tr {
          display: table;
          width: 100%;
          table-layout: fixed;
          /* even columns width , fix width of table too*/
        }

        tbody {
          display: block;
          height: 890px;
          overflow: auto;
          font-size: 14px;

          &::-webkit-scrollbar {
            display: none;
          }

          &.scrollbar {
            &::-webkit-scrollbar {
              width: 4px;
              background-color: var(--bgfff);
            }

            // 滚动条轨道
            &::-webkit-scrollbar-track {
              width: 40px;
              border-radius: 40px;
              background-color: var(--bgfff);
            }

            // 滚动条滑块
            &::-webkit-scrollbar-thumb {
              border: 5px solid var(--theme);
              border-radius: 40px;
            }
          }

        }

        tr {
          td {
            text-align: center;
            height: 60px;
            border-bottom: 1px solid #E1E1E1;
          }
        }

      }
    }
  }
}